package com.qnw.CardGroupManagement;

import android.app.*;
import android.content.*;
import android.content.pm.*;
import android.net.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;
import com.ygo.feihua.R;
import com.ygo.feihua.Gongju;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;

public class D4 extends AppCompatActivity implements OnClickListener 
{

	private LinearLayout ll_sjzk;
	private LinearLayout ll_sjkbj;
	private LinearLayout ll_cjbj;
	private LinearLayout ll_luabj;
	private LinearLayout ll_ktzz;
	private LinearLayout ll_wzzk;

	private Gongju gj;
	
	
	public void onClick(View p1)
	{
		switch (p1.getId())
		{
			
			case R.id.d4_ll_sjzk:
				
					Intent i=new Intent(D4.this, F5.class);
					startActivity(i);
					break;
				
			case R.id.d4_ll_wzzk:
				
					Intent i1=new Intent(D4.this, E5.class);
					startActivity(i1);
					break;
				
			case R.id.d4_ll_ktzz:
				
					Intent i2=new Intent(D4.this, J5.class);
					startActivity(i2);
					break;
				
			case R.id.d4_ll_luabj:
				
					Intent i3=new Intent(D4.this, I5.class);
					startActivity(i3);
					break;
				
			case R.id.d4_ll_sjkbj:
				
					Intent i4=new Intent(D4.this, G5.class);
					startActivity(i4);
					break;
				
			case R.id.d4_ll_cjbj:
				
					Intent i5=new Intent(D4.this, H5.class);
					startActivity(i5);
					break;
			
				
		}
	}
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.d4_layout);

		gj=Gongju.getdx(this);
		
		
		ll_sjzk = (LinearLayout)findViewById(R.id.d4_ll_sjzk);
		ll_sjkbj = (LinearLayout)findViewById(R.id.d4_ll_sjkbj);
		ll_cjbj = (LinearLayout)findViewById(R.id.d4_ll_cjbj);
		ll_luabj = (LinearLayout)findViewById(R.id.d4_ll_luabj);
		ll_ktzz = (LinearLayout)findViewById(R.id.d4_ll_ktzz);
		ll_wzzk = (LinearLayout)findViewById(R.id.d4_ll_wzzk);
		Toolbar tool=(Toolbar) findViewById(R.id.toolbar);

		gj.cshToolbar(tool,"返回");
		
		ll_sjzk.setOnClickListener(this);
		
		ll_sjkbj.setOnClickListener(this);
		ll_cjbj.setOnClickListener(this);
		ll_luabj.setOnClickListener(this);
		ll_ktzz.setOnClickListener(this);
		ll_wzzk.setOnClickListener(this);
	
		}

}
